package com.order.repository;

import com.order.entity.DispatchEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface DispatchRosipotory extends JpaRepository<DispatchEntity, Long> {
    Optional<DispatchEntity> findByOrderId(String orderId);
}
